package cn.edu.scau.cmi.linyuetao.adapter;

import javafx.fxml.FXML;
import javafx.scene.control.Label;

public class AdapterController {
	Target classTarget;
	Target objectTarget;
	@FXML
	Label classLabel;
	@FXML
	Label objectLabel;
	
	@FXML
	public void classSub(){
		classLabel.setText(String.valueOf(classTarget.doTarget()));
	}
	@FXML
	public void objectSub(){
		objectLabel.setText(String.valueOf(objectTarget.doTarget()));
	}
	public Target getObjectTarget() {
		return objectTarget;
	}
	public void setObjectTarget(Target objectTarget) {
		this.objectTarget = objectTarget;
	}
	public Target getClassTarget() {
		return classTarget;
	}
	public void setClassTarget(Target classTarget) {
		this.classTarget = classTarget;
	}
	
	
	
}
